package dazuoye;

public class Unistudent extends ExamScore{
	
    private String instructor;
	private String unisex;
    private String uniidnumber;
    private String unimajor;
     
    public String getInstructor() {
 		return instructor;
 	}

 	public String getUnisex() {
 		return unisex;
 	}

 	public String getUniidnumber() {
 		return uniidnumber;
 	}

 	public String getUnimajor() {
 		return unimajor;
 	}
     
     public Unistudent(String initialCode,String initialSubject,int initialScore,String initialName,String initialInstructor,String initialUnisex,String initialUniidnumber,String initialUnimajor){
         
    	 super(initialCode,initialSubject,initialScore,initialName);
         this.instructor=initialInstructor;
         this.unisex=initialUnisex;
         this.uniidnumber=initialUniidnumber;
         this.unimajor=initialUnimajor;
         
     }
     
     @Override
     public String toString(){
         return super.toString()+"_"+getInstructor()+"_"+getUnisex()+"_"+getUniidnumber()+"_"+getUnimajor();
     }
}
